//
//  RCUnderlineTextField.m
//  RCloudMessage
//
//  Created by 杜立召 on 15/3/19.
//  Copyright (c) 2015年 RongCloud. All rights reserved.
//

#import "RCUnderlineTextField.h"

@implementation RCUnderlineTextField

- (id)initWithFrame:(CGRect)frame {
    
    self = [super initWithFrame:frame];
    if (self) {
        //[self setBackgroundColor:[UIColor whiteColor]];
    }
    return self;
}

- (void)drawRect:(CGRect)rect {
    
    UIView * view = [[UIView alloc]initWithFrame:CGRectMake(self.leftView.bounds.size.width, rect.size.height-1, rect.size.width, .5)];
    view.backgroundColor = [UIColor lightGrayColor];
    [self addSubview:view];
}

@end
